import { createRouter, createWebHistory } from 'vue-router'
import Screen1 from '../pages/Screen1.vue'
import Screen2 from '../pages/Screen2.vue'
import Screen3 from '../pages/Screen3.vue'
import Screen4 from '../pages/Screen4.vue'
import Screen5 from '../pages/Screen5.vue'
import Screen6 from '../pages/Screen6.vue'
import Screen7 from '../pages/Screen7.vue'
import Screen8 from '../pages/Screen8.vue'
import Screen9 from '../pages/Screen9.vue'
import Screen10 from '../pages/Screen10.vue'
import Screen11 from '../pages/Screen11.vue'
import Screen12 from '../pages/Screen12.vue'
import Screen13 from '../pages/Screen13.vue'
import Screen14 from '../pages/Screen14.vue'
import Screen15 from '../pages/Screen15.vue'
// 供应链页面
import Dashboard from '../pages/Dashboard.vue'
import Performance from '../pages/Performance.vue'
import Procurement from '../pages/Procurement.vue'
import Inventory from '../pages/Inventory.vue'
import Logistics from '../pages/Logistics.vue'
import Orders from '../pages/Orders.vue'
import Cost from '../pages/Cost.vue'
import Monitoring from '../pages/Monitoring.vue'

const routes = [
  {
    path: '/',
    redirect: '/dashboard'
  },
  // 供应链页面路由
  {
    path: '/dashboard',
    component: Dashboard
  },
  {
    path: '/performance',
    component: Performance
  },
  {
    path: '/procurement',
    component: Procurement
  },
  {
    path: '/inventory',
    component: Inventory
  },
  {
    path: '/logistics',
    component: Logistics
  },
  {
    path: '/orders',
    component: Orders
  },
  {
    path: '/cost',
    component: Cost
  },
  {
    path: '/monitoring',
    component: Monitoring
  },
  {
    path: '/screen1',
    component: Screen1
  },
  {
    path: '/screen2',
    component: Screen2
  },
  {
    path: '/screen3',
    component: Screen3
  },
  {
    path: '/screen4',
    component: Screen4
  },
  {
    path: '/screen5',
    component: Screen5
  },
  {
    path: '/screen6',
    component: Screen6
  },
  {
    path: '/screen7',
    component: Screen7
  },
  {
    path: '/screen8',
    component: Screen8
  },
  {
    path: '/screen9',
    component: Screen9
  },
  {
    path: '/screen10',
    component: Screen10
  },
  {
    path: '/screen11',
    component: Screen11
  },
  {
    path: '/screen12',
    component: Screen12
  },
  {
    path: '/screen13',
    component: Screen13
  },
  {
    path: '/screen14',
    component: Screen14
  },
  {
    path: '/screen15',
    component: Screen15
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
